<script setup lang='ts'>
import { ref } from "vue";
const props = defineProps<{ url: string }>()
const msg = ref('hello')
defineExpose({
    msg
})
</script>
<template>
    <div class="photo">
        <van-image :src="url" class="project" fit="cover" radius="10px"></van-image>
    </div>
</template>
<style>
.project {
    width: 100px;
    height: 100px;
}
</style>